package com.zjj.learn.designmodel.pattern.adapter.class_adapter;

/** 适配者类
 * *** @author zjj_admin
 * *** 2022/4/10 14:09
 */
public class TFCardImpl implements TFCard {
    @Override
    public String readFromTF() {
        String msg = "read from TF ：hello";
        return msg;
    }

    @Override
    public void writeToTF(String msg) {
        System.out.println("往TF中写入："+msg);
    }
}
